package com.ztgf.commodity.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.commodity.models.bo.CommodityArrivalGoodsRemindSaveBO;
import com.ztgf.commodity.models.dto.CommodityArrivalGoodsRemindDTO;

import java.util.List;

/**
 * 商品到货提醒表服务
 *
 * @author chenyu.wang
 * @Date 2020-06-23 15:58:01
 */
public interface ICommodityArrivalGoodsRemindService extends IService<CommodityArrivalGoodsRemindDTO> {

    /**
     * description: 添加到货提醒
     * param: [saveBO]
     * author: chenyu.wang
     * date: 2020-06-23
     * return: boolean
     */
    boolean add(CommodityArrivalGoodsRemindSaveBO saveBO);

    /**
     * description: 根据商品id和规格/套餐id查询
     * param: [goodsId, attrIds]
     * author: chenyu.wang
     * date: 2020-06-23
     * return: java.util.List<com.ztgf.commodity.models.dto.CommodityArrivalGoodsRemindDTO>
     */
    List<CommodityArrivalGoodsRemindDTO> queryList(Long goodsId, String attrIds);
}
